package cn.tedu.boot01.entity;

/**
 * @author 作者：HeShaoShuai
 * @Email 邮箱：2569819541@qq.com
 * @Date 日期：2023/5/10 20:10
 * @Package 包名：cn.tedo.boot01.entity
 * @Project 项目名：JavaSE
 * @Version 1.0
 */
public class Emp {
	private String name;
	//使用包装类型能够区分传递的值是0，还是未传值，比基本类型多一个未赋值状态的null
	private Double salary;
	private String job;

	@Override
	public String toString() {
		return "Emp{" +
				"name='" + name + '\'' +
				", salary=" + salary +
				", job='" + job + '\'' +
				'}';
	}
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getSalary() {
		return salary;
	}

	public void setSalary(Double salary) {
		this.salary = salary;
	}

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}
}
